import { Component, OnInit, Output, EventEmitter } from '@angular/core';
import { ProductDetail } from './../../core/class/product-detail';

@Component({
  selector: 'app-navigate-bar',
  templateUrl: './navigate-bar.html',
  styleUrls: ['./navigate-bar.css']
})
export class NavigateBarComponent implements OnInit {

  public checkModel:string = '0';

  @Output() viewDays = new EventEmitter();

  name: string = 'name';

  ToggleChartDays( ) {
    this.viewDays.emit(this.checkModel);
    console.log('children ...', this.checkModel);
  }

  constructor() {

  }

  ngOnInit () {

  }
}
